package com.kandinfo.base.admin.service;

import java.util.List;

import com.kandinfo.base.admin.domain.WorkGroup;
import com.kandinfo.base.admin.repository.WorkGroupRepository;
import com.kandinfo.base.common.service.Service;


/**
 * Class Name: WorkGroupService Description: 工作组
 * 
 * @author wandongwang
 *
 */
public interface WorkGroupService extends Service<WorkGroup, Long, WorkGroupRepository> {

    List<WorkGroup> checkName(String name);

    List<WorkGroup> findWorkGroupByUserId(Long userId);
    
    WorkGroup findOneGroupByUser(Long userId);
}
